﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace BCEntity.MySql.MaterialConfiguration
{
    [Table("materialconfiguration")]
    public class MaterialConfigurationEntity
    {
        /// <summary>
        /// 素材配置Id
        /// </summary>	
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int MaterialConfigurationId { get; set; }
        /// <summary>
        /// 素材名称
        /// </summary>	
        public string MaterialName { get; set; }
        /// <summary>
        /// 素材类型
        /// </summary>	
        public MaterialConfigurationMaterialType MaterialType { get; set; }
        /// <summary>
        /// 素材非文本内容地址
        /// </summary>	
        public string Address { get; set; }
        /// <summary>
        /// 素材文本内容
        /// </summary>	
        public string Content { get; set; }
        /// <summary>
        /// 素材备注信息
        /// </summary>	
        public string Remark { get; set; }
        /// <summary>
        /// 素材使用备注贴图(文字不好理解，可以贴图帮助理解)
        /// </summary>	
        public string RemarkPhoto { get; set; }

        /// <summary>
        /// 用途组编码
        /// </summary>
        public string UsageGroupCode { get; set; }
        /// <summary>
        /// 允许删除
        /// </summary>	
        public bool AllowDelete { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>	
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>	
        public DateTime UpdateTime { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>	
        public string Editer { get; set; }
    }
}
